home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 July & August / PCWorld_2006-07-08_cd.bin / komunikace / apache / apache_2[1].2.2-win32-x86-no_ssl.msi / Data1.cab / _05E340422CB341BC50F82101D26FB038 < prev    next >
Extensible Markup Language  |  2006-01-15  |  8KB  |  155 lines

  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>mod_example - Apache HTTP Server</title>
  9. <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="../images/favicon.ico" rel="shortcut icon" /></head>
  13. <body>
  14. <div id="page-header">
  15. <p class="menu"><a href="../mod/">╕≡╡Γ</a> | <a href="../mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">┐δ╛ε</a> | <a href="../sitemap.html">╗τ└╠╞«╕╩</a></p>
  16. <p class="apache">Apache HTTP Server Version 2.2</p>
  17. <img alt="" src="../images/feather.gif" /></div>
  18. <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
  19. <div id="path">
  20. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">╕≡╡Γ</a></div>
  21. <div id="page-content">
  22. <div id="preamble"><h1>╛╞╞──í ╕≡╡Γ mod_example</h1>
  23. <div class="toplang">
  24. <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/mod/mod_example.html" hreflang="en" rel="alternate" title="English"> en </a> |
  25. <a href="../ko/mod/mod_example.html" title="Korean"> ko </a></p>
  26. </div>
  27. <div class="outofdate">└╠ ╣«╝¡┤┬ ├╓╜┼╞╟ ╣°┐¬└╠ ╛╞┤╒┤╧┤┘.
  28.             ├╓▒┘┐í ║»░µ╡╚ │╗┐δ└║ ┐╡╛ε ╣«╝¡╕ª ┬ⁿ░φ╟╧╝╝┐Σ.</div>
  29. <table class="module"><tr><th><a href="module-dict.html#Description">╝│╕φ:</a></th><td>╛╞╞──í ╕≡╡Γ API╕ª ╝│╕φ╟╤┤┘</td></tr>
  30. <tr><th><a href="module-dict.html#Status">╗≤┼┬:</a></th><td>Experimental</td></tr>
  31. <tr><th><a href="module-dict.html#ModuleIdentifier">╕≡╡Γ╕φ:</a></th><td>example_module</td></tr>
  32. <tr><th><a href="module-dict.html#SourceFile">╝╥╜║╞─└╧:</a></th><td>mod_example.c</td></tr></table>
  33. <h3>┐Σ╛α</h3>
  34.  
  35.     <p>╛╞╞──í ╣Φ╞≈║╗ <code>modules/experimental</code> ╡≡╖║┼Σ╕«┐í
  36.     └╓┤┬ ╞─└╧╡Θ└║ ╛╞╞──í API╕ª ╗τ┐δ╟╧┐⌐ ╕≡╡Γ└╗ └█╝║╟╧╖┴┤┬ ╗τ╢≈╡Θ└╗
  37.     ╡╜▒Γ└º╟╤ ┐╣┴ª┤┘.</p>
  38.  
  39.     <p><code>mod_example.c</code>┤┬ ╕≡╡τ ─▌╣Θ(callback) ▒╕┴╢┐═
  40.     ╚ú├Γ ╣«╣²└╗ ╝│╕φ╟╧┤┬ ╞─└╧└╠┤┘. ┤τ╜┼└║ ╕≡╡Γ┐í └╠ ╕≡╡τ ─▌╣Θ└╗
  41.     ▒╕╟÷╟╥ ╟╩┐Σ░í ╛°┤┘. ╗τ╜╟ ┴ñ╣▌┤δ┤┘!</p>
  42.  
  43.     <p>example ╕≡╡Γ└║ ╜╟┴ª╖╬ ╡┐└█╟╧┤┬ ╕≡╡Γ└╠┤┘. └╠ ╕≡╡Γ└╗ ╝¡╣÷┐í
  44.     ┐¼░ß╟╧░φ ╞»┴ñ └º─í┐í "example-handler" ╟┌╡Θ╖»╕ª ╟╥┤τ╟╧┐⌐
  45.     ▒╫░≈└╗ ║Ω╢≤┐∞┬í╟╧╕Θ example ╕≡╡Γ└╟ ┐⌐╖» ─▌╣Θ└╗ ╚«└╬╟╥ ╝÷
  46.     └╓┤┘.</p>
  47. </div>
  48. <div id="quickview"><h3 class="directives">┴÷╜├╛ε╡Θ</h3>
  49. <ul id="toc">
  50. <li><img alt="" src="../images/down.gif" /> <a href="#example">Example</a></li>
  51. </ul>
  52. <h3>┴╓┴ª</h3>
  53. <ul id="topics">
  54. <li><img alt="" src="../images/down.gif" /> <a href="#compiling">example ╕≡╡Γ ──╞─└╧╟╧▒Γ</a></li>
  55. <li><img alt="" src="../images/down.gif" /> <a href="#using"><code>mod_example</code> ╕≡╡Γ ╗τ┐δ╟╧▒Γ</a></li>
  56. </ul></div>
  57. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  58. <div class="section">
  59. <h2><a name="compiling" id="compiling">example ╕≡╡Γ ──╞─└╧╟╧▒Γ</a></h2>
  60.  
  61.     <p>╝¡╣÷┐í example ╕≡╡Γ└╗ ╞≈╟╘╟╧╖┴╕Θ ┤┘└╜ ░·┴ñ└╗ ░┼─ú┤┘:</p>
  62.  
  63.     <ol>
  64.       <li>
  65.         <code>--enable-example</code> ┐╔╝╟░· ╟╘▓▓
  66.         <code>configure</code>╕ª ╜╟╟α╟╤┤┘.</li>
  67.  
  68.       <li>╝¡╣÷╕ª ──╞─└╧╟╤┤┘ ("<code>make</code>"╕ª ╜╟╟α╟╤┤┘).</li>
  69.     </ol>
  70.  
  71.     <p>└┌╜┼└╠ ╕╕╡τ ╕≡╡Γ└╗ ├▀░í╟╧╖┴╕Θ:</p>
  72.  
  73.     <ol class="up-A">
  74.       <li><code>cp modules/experimental/mod_example.c
  75.       modules/new_module/<em>mod_myexample.c</em></code></li>
  76.  
  77.       <li>╞─└╧└╗ ╝÷┴ñ╟╤┤┘.</li>
  78.  
  79.       <li><code>modules/new_module/config.m4</code> ╞─└╧└╗ ╕╕╡τ┤┘.
  80.         <ol>
  81.           <li><code>APACHE_MODPATH_INIT(new_module)</code>└╗
  82.             ├▀░í╟╤┤┘.</li>
  83.           <li><code>modules/experimental/config.m4</code> ╞─└╧┐í╝¡
  84.             "example"└╠ └╓┤┬ APACHE_MODULE ┴┘└╗ ║╣╗τ╟╪┐┬┤┘.</li>
  85.           <li>├╣╣°┬░ ╛╞▒╘╕╒╞« "example"└╗ <em>myexample</em>╖╬
  86.             ║»░µ╟╤┤┘.</li>
  87.           <li>╡╬╣°┬░ ╛╞▒╘╕╒╞« └┌╕«┐í └┌╜┼└╠ ╕╕╡τ ╕≡╡Γ┐í ┤δ╟╤
  88.             ░ú┤▄╟╤ ╝│╕φ└╗ └√┤┬┤┘. <code>configure --help</code>╕ª
  89.             ╜╟╟α╟╧╕Θ ┐⌐▒Γ┐í ▒Γ╖╧╟╤ ╝│╕φ└╗ ║╕┐⌐┴╪┤┘.</li>
  90.           <li>╕≡╡Γ└╗ ──╞─└╧╟╥╢º ╞»║░╟╤ C ──╞─└╧╖» ┐╔╝╟, ╕╡─┐
  91.             ┐╔╝╟, ╢≤└╠║Ω╖»╕«░í ╟╩┐Σ╟╧╕Θ ░ó░ó CFLAGS, LDFLAGS,
  92.             LIBS┐í ├▀░í╟╤┤┘. modules ╡≡╖║┼Σ╕«┐í └╓┤┬ ┤┘╕Ñ
  93.             <code>config.m4</code> ╞─└╧╡Θ└╗ ┬ⁿ░φ╟╧╢≤.</li>
  94.           <li><code>APACHE_MODPATH_FINISH</code>╕ª ├▀░í╟╤┤┘.</li>
  95.         </ol>
  96.       </li>
  97.  
  98.       <li><code>module/new_module/Makefile.in</code> ╞─└╧└╗
  99.       ╕╕╡τ┤┘. ╕≡╡Γ└╗ ──╞─└╧╟╧┤┬╡Ñ ╞»║░╟╤ ╕φ╖╔╛ε░í ╟╩┐Σ╛°┤┘╕Θ,
  100.       ╞─└╧┐í <code>include $(top_srcdir)/build/special.mk</code>╕╕
  101.       └╓╛ε╡╡ ╡╚┤┘.</li>
  102.  
  103.       <li>├╓╗≤└º ╡≡╖║┼Σ╕«┐í╝¡ ./buildconf ╕ª ╜╟╟α╟╤┤┘.</li>
  104.  
  105.       <li>--enable-myexample ┐╔╝╟└╗ ╗τ┐δ╟╧┐⌐ ╝¡╣÷╕ª ──╞─└╧╟╤┤┘</li>
  106.  
  107.     </ol>
  108. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  109. <div class="section">
  110. <h2><a name="using" id="using"><code>mod_example</code> ╕≡╡Γ ╗τ┐δ╟╧▒Γ</a></h2>
  111.  
  112.     <p>example ╕≡╡Γ└╗ ╗τ┐δ╟╧╖┴╕Θ <code>httpd.conf</code> ╞─└╧┐í
  113.     ┤┘└╜░· ░░└║ ╝│┴ñ└╗ ├▀░í╟╧╢≤:</p>
  114. <div class="example"><p><code>
  115.    <Location /example-info><br />
  116.        SetHandler example-handler<br />
  117.    </Location>
  118. </code></p></div>
  119.  
  120.     <p>╛╞┤╧╕Θ <a href="core.html#accessfilename"><code>.htaccess</code></a>
  121.     ╞─└╧┐í ┤┘└╜░· ░░└║ │╗┐δ└╗ ├▀░í╟╧░φ, ▒╫ └º─í┐í╝¡ "test.example"
  122.     ░░└║ ╞─└╧└╗ ┐Σ├╗╟╧╢≤:</p>
  123. <div class="example"><p><code>
  124.    AddHandler example-handler .example
  125. </code></p></div>
  126.  
  127.     <p>╝¡╣÷╕ª └τ╜├└█╟╤ ╚─ └╠ └º─í╕ª ║Ω╢≤┐∞┬í╟╧╕Θ ╛╒┐í╝¡ ╕╗╟╤
  128.     │╗┐δ└╗ ║╕░╘╡╔ ░═└╠┤┘.</p>
  129. </div>
  130. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  131. <div class="directive-section"><h2><a name="Example" id="Example">Example</a> <a name="example" id="example">┴÷╜├╛ε</a></h2>
  132. <table class="directive">
  133. <tr><th><a href="directive-dict.html#Description">╝│╕φ:</a></th><td>╛╞╞──í ╕≡╡Γ API╕ª ╝│╕φ╟╧▒Γ└º╟╤ ┐╣┴ª ┴÷╜├╛ε</td></tr>
  134. <tr><th><a href="directive-dict.html#Syntax">╣«╣²:</a></th><td><code>Example</code></td></tr>
  135. <tr><th><a href="directive-dict.html#Context">╗τ┐δ└σ╝╥:</a></th><td>┴╓╝¡╣÷╝│┴ñ, ░í╗≤╚ú╜║╞«, directory, .htaccess</td></tr>
  136. <tr><th><a href="directive-dict.html#Status">╗≤┼┬:</a></th><td>Experimental</td></tr>
  137. <tr><th><a href="directive-dict.html#Module">╕≡╡Γ:</a></th><td>mod_example</td></tr>
  138. </table>
  139.     <p><code class="directive">Example</code> ┴÷╜├╛ε┤┬ example ╕≡╡Γ└╟
  140.     │╗┐δ╟┌╡Θ╖»░í ░ú┤▄╟╤ ╣«▒╕╕ª ║╕└╧┴÷ ┐⌐║╬╕ª ╝│┴ñ╟╤┤┘. └╠ ┴÷╜├╛ε┤┬
  141.     ╛╞▒╘╕╒╞«╕ª ╣▐┴÷╛╩┤┬┤┘. example │╗┐δ╟┌╡Θ╖»╕ª └√┐δ╟╤ URL┐í
  142.     ┴ó╝╙╟╧╕Θ ╣«╝¡ ┐Σ├╗└╗ ╝¡║±╜║╟╧▒Γ└º╟╪ ╕≡╡Γ╛╚┐í ╟╘╝÷╡Θ└╠ ╛ε╢╗░╘
  143.     ▒╫╕«░φ ╛ε╢▓ ╝°╝¡╖╬ ║╥╕«┤┬┴÷ ╛╦ ╝÷ └╓┤┘. └╠ ┴÷╜├╛ε└╟ ╚┐░·┤┬
  144.     "<code>Example directive declared here: YES/NO</code>"╖╬
  145.     ╚«└╬╟╥ ╝÷ └╓┤┘.</p>
  146.  
  147. </div>
  148. </div>
  149. <div class="bottomlang">
  150. <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/mod/mod_example.html" hreflang="en" rel="alternate" title="English"> en </a> |
  151. <a href="../ko/mod/mod_example.html" title="Korean"> ko </a></p>
  152. </div><div id="footer">
  153. <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
  154. <p class="menu"><a href="../mod/">╕≡╡Γ</a> | <a href="../mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">┐δ╛ε</a> | <a href="../sitemap.html">╗τ└╠╞«╕╩</a></p></div>
  155. </body></html>